package com.ev.asl.service;

import com.ev.asl.domain.MoldingDailyDO;
import com.ev.asl.dto.MoldingDailyDto;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author 姚家乐
 * @since 2021/6/2 13:48
 */
public interface MoldingDailyService {
    Integer save(MoldingDailyDO entity);

    Integer save(MoldingDailyDto dto);

    MoldingDailyDO get(Long id);

    Map<String,Object> getDetailInfo(Long id);

    Integer update(MoldingDailyDO entity);

    Integer update(MoldingDailyDto dto);

    Integer syncSaveToK3(MoldingDailyDO entity);

    int batchRemove(Long[] ids);

    int remove(Long id);

    int countForMap(Map<String, Object> params);

    List<Map<String,Object>> listForMap(Map<String,Object> param);

    int totalForMap(Map<String,Object> param);

    void downloadExport(HttpServletResponse response, Long id);
}
